<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <%= PhoenixHTMLHelpers.Tag.csrf_meta_tag() %>
    <title>Torch Admin</title>
    <!-- Uncomment to just use the bare bones torch styles rather than the theme -->
    <!--<link phx-track-static rel="stylesheet" href={Phoenix.VerifiedRoutes.static_path(@conn, "/torch/base.css")}>-->
    <link phx-track-static rel="stylesheet" href={Phoenix.VerifiedRoutes.static_path(@conn, "/torch/theme.css")}>
  </head>

  <body class={Torch.Helpers.body_classes(@conn)}>
    <header>
      <section id="torch-account-info">
        <div class="torch-container">
          <a href="/">user@example.com</a>
          <a href="/">Logout</a>
        </div>
      </section>

      <section id="torch-nav">
        <div class="torch-container">
          <div class="torch-logo">
            <a href="/">
              <h3>Torch</h3>
            </a>
          </div>
          <nav class="torch-nav">
            <!-- nav links here -->
          </nav>
        </div>
      </section>
    </header>

    <Torch.Component.flash_messages flash={@conn.assigns.flash} />
    <%= @inner_content %>
    <script defer src={Phoenix.VerifiedRoutes.static_path(@conn, "/torch/torch.js")}></script>
  </body>
</html>
